#!/usr/bin/env sh
set -euo pipefail

npx @tailwindcss/cli -m -i ./static-origin/style/tailwind.css -o ./static/style/tailwind.min.css
npx @tailwindcss/cli -m -i ./static-origin/style/typography.css -o ./static/style/typography.min.css
cp -rT ./node_modules/@ag-grid-community/styles/ ./static/style/ag-grid-community
./node_modules/.bin/esbuild --bundle --minify ./static-origin/style/form.css --outfile=./static/style/form.min.css
cp ./node_modules/django-lispy-filter-ui/dist/min/lib.css ./static/style/django-lispy-filter-ui.min.css
cp ./node_modules/tocbot/dist/tocbot.css ./static/style/tocbot.min.css


